package com.example.service;

import com.example.entity.result.Result;
import com.example.entity.result.ResultBean;
import com.example.entity.vo.User;

public interface UserService {
    //登录
    Result login(String username, String password);
    //查询
    Result query(String key, String value);
    //注册
    Result register(User user);
    //信息修改
    Result updateUser(User user);
    //删除
    Result deleteUser(int id);
    //充值消费
    ResultBean pay(User user, String key, float v);
}
